import { View } from '@tarojs/components'
import { useState, useEffect } from 'react'
import {} from 'taro-ui'

import './index.scss'

interface MyTitleProps {
  title?: string
}

const MyTitle = (props: MyTitleProps) => {
  const { title } = props
  return <View className='my-title'>{title}</View>
}

export default MyTitle
